package com.attendance.mapper;

import com.attendance.pojo.Class;
import com.attendance.pojo.Teacher;
import com.attendance.vo.ClassVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 *
 * 班级管理Dao层
 *
 **/

@Mapper
public interface ClassMapper extends BaseMapper<Class> {


    //根据条件查询班级
    List<ClassVO> selectClass(ClassVO classVO);

    //根据ClassId查询
    Class selectByClassId(String id);

    //新增
    int addClass(ClassVO classVO);

    //编辑班级信息
    int updateClass(ClassVO classVO);

    //删除班级信息
    int deleteClass(ClassVO classVO);


}
